package top.fyxxxx.dbdesign.data;

import java.util.Queue;
import java.util.Set;

public class Account {
    private String account;//账号
    private String password;//密码
    private String name;//姓名
    private long uid;//账户编号
    private long createTime;//创建时间
    private long power;//权限（是否可以创建课程）
    private Set<Long>joinCids;//加入的课程
    public Account(){}
    public Account(String account,String password,String name,long uid,long createTime,long power,Set<Long>joinCids)
    {
        this.account=account;
        this.password=password;
        this.name=name;
        this.uid=uid;
        this.createTime=createTime;
        this.power=power;
        this.joinCids=joinCids;
    }
    public Set<Long> getJoinCids() {
        return joinCids;
    }

    public long getPower() {
        return power;
    }

    public long getCreateTime() {
        return createTime;
    }

    public long getUid() {
        return uid;
    }

    public String getName() {
        return name;
    }

    public String getAccount() {
        return account;
    }

    public String getPassword() {
        return password;
    }

    public void setUid(long uid) {
        this.uid = uid;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public void setPower(long power) {
        this.power = power;
    }

    public void setJoinCids(Set<Long> joinCids) {
        this.joinCids = joinCids;
    }


}
